package model;

import java.util.Date;
import java.util.Map;

public class Order {
	
	public enum Status{ NEW, DELIVERED };
	
	private int orderNumber;
	private Status status;
	private Date dateTime;
	private String customerEmail;
	private Map<Item, Integer> items;
	
	public void setDateTime(Date dateTime) {
		this.dateTime = dateTime;
	}
	
	public String getCustomerEmail() {
		return customerEmail;
	}
	
	public void setCustomerEmail(String customerEmail) {
		this.customerEmail = customerEmail;
	}
	
	public Map<Item, Integer> getItems() {
		return items;
	}
	
	public void setItems(Map<Item, Integer> items) {
		this.items = items;
	}
}
